json.array! @snippets, partial: 'snippets/snippet', as: :snippet